﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_MAS_ReceiveTypes
    {
        private int RECEIVE_TYPE_SEQ;
        private Nullable<int> BGM_SOURCE_SEQ;
        private string RECEIVE_TYPE_NAME;
        private Nullable<int> BANK_ACC_SEQ;
        private Nullable<int> ACCOUNT_SEQ;
        private string INV_CONNECT_TYPE;
        private bool TEMP_INCOME;
        private bool NOT_SALE;
        private string REMARKS;

        private string BGM_SOURCE_NAME;
        private string BANK_ACC_NAME;
        private string ACCOUNT_NAME;
        private string INV_CONNECT_TYPE_NAME;
        private string TEMP_INCOME_NAME;
        private string NOT_SALE_NAME;

        private string RECORD_STATUS;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_FIM_MAS_ReceiveTypes()
        {

        }

        public M_FIM_MAS_ReceiveTypes(
            int RECEIVE_TYPE_SEQ
            , Nullable<int> BGM_SOURCE_SEQ
            , string RECEIVE_TYPE_NAME
            , Nullable<int> BANK_ACC_SEQ
            , Nullable<int> ACCOUNT_SEQ
            , string INV_CONNECT_TYPE
            , bool TEMP_INCOME
            , bool NOT_SALE
            , string REMARKS

            , string BGM_SOURCE_NAME
            , string BANK_ACC_NAME
            , string ACCOUNT_NAME
            , string INV_CONNECT_TYPE_NAME
            , string TEMP_INCOME_NAME
            , string NOT_SALE_NAME

            , string RECORD_STATUS
            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN)
        {
            this.RECEIVE_TYPE_SEQ = RECEIVE_TYPE_SEQ;
            this.BGM_SOURCE_SEQ = BGM_SOURCE_SEQ;
            this.RECEIVE_TYPE_NAME = RECEIVE_TYPE_NAME;
            this.BANK_ACC_SEQ = BANK_ACC_SEQ;
            this.ACCOUNT_SEQ = ACCOUNT_SEQ;
            this.INV_CONNECT_TYPE = INV_CONNECT_TYPE;
            this.TEMP_INCOME = TEMP_INCOME;
            this.REMARKS = REMARKS;

            this.BGM_SOURCE_NAME = BGM_SOURCE_NAME;
            this.BANK_ACC_NAME = BANK_ACC_NAME;
            this.ACCOUNT_NAME = ACCOUNT_NAME;
            this.INV_CONNECT_TYPE_NAME = INV_CONNECT_TYPE_NAME;

            this.RECORD_STATUS = RECORD_STATUS;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public int receive_type_seq
        {
            set { RECEIVE_TYPE_SEQ = value; }
            get { return RECEIVE_TYPE_SEQ; }
        }

        public Nullable<int> bgm_source_seq
        {
            set { BGM_SOURCE_SEQ = value; }
            get { return BGM_SOURCE_SEQ; }
        }

        public string receive_type_name
        {
            set { RECEIVE_TYPE_NAME = value; }
            get { return RECEIVE_TYPE_NAME; }
        }

        public Nullable<int> bank_acc_seq
        {
            set { BANK_ACC_SEQ = value; }
            get { return BANK_ACC_SEQ; }
        }

        public Nullable<int> account_seq
        {
            set { ACCOUNT_SEQ = value; }
            get { return ACCOUNT_SEQ; }
        }

        public string inv_connect_type
        {
            set { INV_CONNECT_TYPE = value; }
            get { return INV_CONNECT_TYPE; }
        }

        public bool temp_income
        {
            set { TEMP_INCOME = value; }
            get { return TEMP_INCOME; }
        }

        public bool not_sale
        {
            set { NOT_SALE = value; }
            get { return NOT_SALE; }
        }

        public string remarks
        {
            set { REMARKS = value; }
            get { return REMARKS; }
        }


        public string bgm_source_name
        {
            set { BGM_SOURCE_NAME = value; }
            get { return BGM_SOURCE_NAME; }
        }

        public string bank_acc_name
        {
            set { BANK_ACC_NAME = value; }
            get { return BANK_ACC_NAME; }
        }

        public string account_name
        {
            set { ACCOUNT_NAME = value; }
            get { return ACCOUNT_NAME; }
        }

        public string inv_connect_type_name
        {
            set { INV_CONNECT_TYPE_NAME = value; }
            get { return INV_CONNECT_TYPE_NAME; }
        }
        public string not_sale_name
        {
            set { NOT_SALE_NAME = value; }
            get { return NOT_SALE_NAME; }
        }

        //====================================================================

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
